package tests;

import static org.junit.Assert.*;

import org.junit.Test;

import user.User;
import utils.InvalidInputException;

/**
 * JUnit Test Class for user.User
 * 
 * @author Aleksander Zotov
 * 
 */
public class UserTest {

	@Test
	// Test of resetPassword()
	public void resetPasswordTest() throws InvalidInputException {
		User testUser = new User("testName");
		String oldPassword = testUser.getPassword();
		testUser.resetPassword();
		assertTrue(oldPassword.equals(testUser.getPassword()) == false);
	}
}
